package com.sky.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

@ApiModel("文档类")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Document  implements Serializable{
	@ApiModelProperty("id")
	private Integer id;
	@ApiModelProperty("标题")
	private String title;
	@ApiModelProperty("标题")
	private String filename;
	@ApiModelProperty("详细信息")
	private String remark;
	@ApiModelProperty("创建日期")
	private String create_date;
	@ApiModelProperty("作者id")
	private Integer user_id;
	@ApiModelProperty("文件")
	private MultipartFile file;
	@ApiModelProperty("作者")
	private User user;

	

}
